<?php //Debug::dump($user->username);?>
<div class="users index">
    <h2><?php //echo $user['username'];  ?></h2>
    <table cellpadding="0" cellspacing="0">
        <tr>
            <th><?php echo 'username'; ?></th>
            <th><?php echo 'email'; ?></th>
            <th><?php echo 'created_at'; ?></th>
            <th><?php echo 'updated'; ?></th>
            <th><?php echo 'last_login'; ?></th>
            <th><?php echo 'status'; ?></th>

        </tr>
        <tr>
            <td><?php echo $user->username; ?>&nbsp;</td>
            <td><?php echo $user->email; ?>&nbsp;</td>
            <td><?php echo $user->created_at; ?>&nbsp;</td>
            <td><?php echo $user->updated; ?>&nbsp;</td>
            <td><?php echo $user->last_login; ?>&nbsp;</td>
            <td><?php if ($user->status == 1)
                        {
                            echo 'actived';
                        } else
                        {
                            echo 'have not active yet';
                        } ?>&nbsp
            </td>
        </tr>
    </table>
</div>        
<div class="actions">   
    <h3><?php echo __('Actions'); ?></h3>
    <ul>
        <li><?php echo Html::anchor('users/edit_account/' . Session::get('userid'), 'Edit Account'); ?></li>
        <li><?php echo Html::anchor('users/edit_password/' . Session::get('userid'), 'Edit Password'); ?> </li>
        <li><?php //echo Html::anchor('profiles/edit/' . Session::get('userid'), 'Edit Profile'); ?></li>
        <li><?php// echo Html::anchor('profiles/view/' . Session::get('userid'), 'View Profile'); ?> </li>
    </ul>
</div> 


